import request from '@/router/axios';

export const getMyList = (current, size, params) => {
  return request({
    url: '/api/smart-ninebasic/dispute/disputeProcess/myHandleList',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    }
  })
}
export const getHandleDetail = (id) => {
  return request({
    url: '/api/smart-ninebasic/dispute/disputeProcess/getHandleDetail',
    method: 'get',
    params: {
      id,
    }
  })
}


export const disputeFlowList = (id) => {
  return request({
    url: '/api/smart-ninebasic/dispute/disputeProcess/history-flow-list',
    method: 'get',
    params: {
      id
    }
  })
}


export const urgeSave = (id) => {
  return request({
    url: '/api/smart-ninebasic/dispute/disputeProcess/urge',
    method: 'post',
    params: {
      id
    }
  })
}